<?php
class Macys_Api_V2_Shoppingbag_DeleteItem extends Macys_Api_V2_Shoppingbag_Abstract {

	protected function init() {
		$this->allowedParams = array("upcid", "quantity", "itemseq");
		$this->shoppingbagEndpoint = "/item/delete";
		$this->method = "POST";
		
		$this->contentType = self::JSON;
	}



	


	protected function setItemsRequest($arr) {
		/*{"updateitemsrequest" : {"itemseq":1, "upcid":3173, "quantity":2}} */
		$body = array("deleteitemsrequest" => $arr);
		$this->rawinput = Zend_Json::encode($body);
	}



}